package Exercise;
/*键盘录入女婿的酒量
如果大于2，老丈人给出回应 反之不回应*/
import java.util.Scanner;
public class Exercise040 {
    public static void main(String[] args) {
     Scanner sc = new Scanner(System.in);
     System.out.println("请输入女婿的酒量：");
     int num = sc.nextInt();
     if (num > 2){
         System.out.println("小伙子不错哟！！");
     }
    }
}
